﻿<!DOCTYPE html>
@using CNav.Menu
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - CaseCentre</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/css")

    @RenderSection("scripts", required: false)
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/superfish")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/CaseCentre")

</head>
<body>
    <header>
        <div class="content-wrapper">
            <div class="float-left logoContainer">
                <p class="site-title">
                    <img class="logo" src="~/Images/logo.jpg" />
                </p>
            </div>
            <div class="float-right">
                <nav id="loginNav">
                    @Html.Partial("_LoginPartial")
                </nav>
            </div>

        </div>
    </header>

    <div class="site-bar content-wrapper">
        <h2 class="tab-title">&nbsp;@ViewBag.Title</h2><br/>
        <nav class="float-right">
              @Html.SiteMenuAsUnorderedList(ViewBag.SiteLinks as List<ISiteLink>)
              @Html.SiteMenuAsUnorderedList(ViewBag.BusinesSiteLinks as List<ISiteLink>)
        </nav>
    </div>

    <div id="body">
        <section class="content-wrapper main-content clear-fix">
            @RenderBody()
        </section>
    </div>
    <footer>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="copy-right">&copy; @DateTime.Now.Year - <a href="http://www.joyinfotech.com">JoyInfoTech Limited</a></p>
            </div>
        </div>
    </footer>
</body>
<script>
    $(document).ready(function () {
        $('nav ul').addClass("sf-menu").superfish({ delay: 300 });
        $('#loginNav ul').css("background-color", "#0E7A9E");
    });
</script>
</html>
